package com.anhry.app.safety.manage.oa.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 企业端相关信息附件
 */
@Entity
@Table(name = "TB_CORP_MSG_FJ")
@SequenceGenerator(name="TB_CORP_MSG_FJ_SEQ", sequenceName="TB_CORP_MSG_FJ_SEQ", allocationSize=1)
public class TbCorpMsgFj implements java.io.Serializable {

	// Fields

	private Long id;

	private Long msgId;

	private String fjTitle;

	private String fjSize;

	private String fjPath;

	private String fjType;

	private String isDele;

	// Constructors

	/** default constructor */
	public TbCorpMsgFj() {
	}

	/** minimal constructor */
	public TbCorpMsgFj(Long id) {
		this.id = id;
	}

	/** full constructor */
	public TbCorpMsgFj(Long id, Long msgId, String fjTitle, String fjSize,
			String fjPath, String fjType, String isDele) {
		this.id = id;
		this.msgId = msgId;
		this.fjTitle = fjTitle;
		this.fjSize = fjSize;
		this.fjPath = fjPath;
		this.fjType = fjType;
		this.isDele = isDele;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "TB_CORP_MSG_FJ_SEQ")
	@Column(name = "ID", precision = 11, scale = 0)
	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	@Column(name = "MSG_ID", precision = 11, scale = 0)
	public Long getMsgId() {
		return this.msgId;
	}

	public void setMsgId(Long msgId) {
		this.msgId = msgId;
	}

	@Column(name = "FJ_TITLE", length = 225)
	public String getFjTitle() {
		return this.fjTitle;
	}

	public void setFjTitle(String fjTitle) {
		this.fjTitle = fjTitle;
	}

	@Column(name = "FJ_SIZE", length = 30)
	public String getFjSize() {
		return this.fjSize;
	}

	public void setFjSize(String fjSize) {
		this.fjSize = fjSize;
	}

	@Column(name = "FJ_PATH", length = 225)
	public String getFjPath() {
		return this.fjPath;
	}

	public void setFjPath(String fjPath) {
		this.fjPath = fjPath;
	}

	@Column(name = "FJ_TYPE", length = 20)
	public String getFjType() {
		return this.fjType;
	}

	public void setFjType(String fjType) {
		this.fjType = fjType;
	}

	@Column(name = "IS_DELE", length = 1)
	public String getIsDele() {
		return this.isDele;
	}

	public void setIsDele(String isDele) {
		this.isDele = isDele;
	}

}